work with Ohai 7 and 6

Ohai 7 has changed the way the plugin system loads, and then jvmargs explodes with:

```
Ohai::Exceptions::DependencyNotFound
Can not find a plugin for dependency linux::memory
```