added new build script for OSX