fixed scons build OS X 10.7 compatibility