refactoring: created decorator for Environment.OSVersion instead of PlatformHelper