fix check for Windows, again