corrected gcc version check for warning suppresion