Update build scripts on OS X