gcc version check set to >= 4.7