Fixed bug which causes OS/Version name to be detected incorrectly.