test against __WINDOWS__ not __WIN32__

__WIN32__ was defined by MinGW though
Merge pull request #305 from pijyoi/win32_ctrlc

test against __WINDOWS__ not __WIN32__