Updated project to be buildable with Xcode.
Added a comment about OS=MACOS origin.
Merge pull request #3393 from yglukhov/master

Updated project to be buildable with Xcode on MacOS.