Changes I had to make to have it run on Windows for me