Don't rely on sketchy `OsDetails.isLinux()` method.
Merge pull request #1005 from alasdairhodge/mariadb-os-detection

Don't rely on sketchy `OsDetails.isLinux()` method.