Refactor GetOSType, add WIndows 8/8.1