added build script for osx