Compatibility fix for scons 1.2.