modify for scons build.