fixed linux compiling