Get correct OSVersion when running on Windows 8.1

fixes #114