[gcc] Fix for newest compiler