Fix Windows build.

Rename CreateWindow to avoid conflicting with some other symbols.
Merge pull request #2680 from darktears/master

Fix Windows build.