Add RAT-5.0
more accurately test if cmake already installed

(cherry picked from commit 9053936061ee579116e859db5deafa50ac3ce2d0)
update scons to from 2.1.0 to 2.3.4