[GS] Fix build on WIN32