mongodb: make it compile on yosemite