require bson_ext before mongo