making it also compile on linux