Fixed build breakage with gcc.