Fixed broken test run on Windows 8.1