Fixed viewlog on Windows 8