OSX build script