ommongodb: fix compile problem

regression from pull request #17 from jtv4k/master