private string GetNormalizedPathForOS(string path) { return Environment.OSVersion.Platform == PlatformID.Win32NT ? path.ToLowerInvariant() : path; }