fix toolchain script

fix incompatibility with some unix systems

add c++ compiler detection

(0) -3 +3 +10 +30 +100 tip

mercurial