futzing with the build scripts for OS X