Linux build script
Adjusted OSX build script