simplify mongodb build and testing