Add fix for old gcc compilers.