Fixed compiling on GCC.