Mantis 5983: CheckWin32version is buggy