Do not show warnings about iOS when building for OSX
Merge pull request #338 from y8/patch-1

Do not show warnings about iOS when building for OSX