fix build problems with scons