Fixed compiling in linux.