Changes to build script to enable changing mojo dir