Merge #1005 into master: Don't rely on sketchy `OsDetails.isLinux()` method.

Merging changes made in 0.6.x branch, into master (for 0.7.0-snapshot). See https://github.com/brooklyncentral/brooklyn/pull/1005