Simplify build config.

It doesn't hurt if we set up the mongo driver, even if we're not testing the PHP backend.