Make ohai windows compatible.

@lamont-granquist thoughts?