git submodule scons build issue fix 

If you add mongo to a parent project via "git submodule add", you need these fixes to build mongo.