Added checks to build script to detect MacOS and to
build Mac and iOS if the correct tools are installed
Fixed a few issues with the MacOS detection
Merge pull request #41 from mono/develop

Merge back from develop