fix the mongodb dependency and bin