Fix Win32 detection