Best-effort detection of an Os from a free-form description (e.g. the os.name JVM system property), matching well-known substrings case-insensitively.
os.name