fix windows build
Merge pull request #1592 from ZappoMan/master

fix windows build