Remove obsolete mongodb dependencies.