fix GCC version check