add support for mongo
do not have a fatal error if doctrine bridge is too old