Fix for Windows 8.1