Fix windows build for WINVER > 0x400