Repair QMake build on OS X.