fixes #5271 - added detection for Windows 10