Additional fix for mongo to compile