scons: fix build scripts for new GCC & tbb versions