Build script for the native libraries under OS X.