Updated build script to make builds on the Mocha branch.