SERVER-9486 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.

Signed-off-by: Matt Kangas <matt.kangas@10gen.com>