Fix the scons build for bug in scons <= 2.0.