Restrict gcc version to > 4.7.0