Fixed test for gcc version