changes to run on Windows