changes for compiling on linux