Fixed compiling under Linux