config.hpp: fix GCC version check