Added build.sh support for OS X