Fix compilation error for gcc/clang.