Fix for older gcc compilers