Fixed compiling under linux