Fix rspec tests to pass.

This deals with the changes by @salderma to bypass the module on unsupported operatingsystems.