Fix log file not showing operating system version on Windows XP and Windows Server 2003.