Fix compilation error on certain versions of GCC.