updates to compile on linux