Add example build script for osx.