transferred from CodeBlocks to scons