fix for compiling in linux