fix toolchain detection in case gcc is not available

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

mercurial