fixed compiling in linux