fixed g++ version detection, for cases in which the version is not the third split item
fixed g++ version detection, for cases in which the version is not the third split item

tommy-u/enable,tommy-u/enable,tommy-u/enable,tommy-u/enable