Fixed Mac get OS version.
Fixed Windows get OS version.