Fixes build error under gcc/clang.