Fixed compiling on linux.