[CMake] Added OSX binary.
[Xcode] Fixed build for iOS and OSX.