remove dependency on ruby-wmi which breaks chef 11.14.2

This should work for versions before and after 11.14.2