Fixed the windows build (thanks to Chris Nauroth).