Fixed build on gcc.