fix mongodb build on OSX 10.9 Mavericks

This will use apple-gcc42 to build mongodb. Method with stdlib does not properly build 2.4 branch of mongo.

https://github.com/mxcl/homebrew/issues/22771