improve posix shell compatibility

fix toolchain detection in case gcc is not available

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

mercurial