Fix windows build

Although krause had to go and do another pull request after I did this grumble grumble