flag settings of windows.
Merge pull request #1617 from ESwordTheCat/patch-2

flag settings of windows.