Fixed (?) the build script for mac.