Fixed compiling on Linux