build script for OS X 10.9