Make it run properly on linux