Added rudimentary Linux capability.

A few lines of code and a small gem [ **os** ](https://rubygems.org/gems/os) is all that's required. Does not break Mac compatibility.