Correctly configure the mongo build