Fix windows build
Merge pull request #2452 from darktears/master

Fix windows build