Get OS X build working in Xcode