Added script to compile on Mac OS X