Minor edits to make it compile on Windows