Correct way of detecting *nix environment (used in MonoDevelop/Xamarin Studio) is Path.DirectorySeparatorChar == '/'