Fix compilation, add support for scons build file.