Fix Chef version checking for minor versions >= .10

The Chef version check is using a simple #to_f, which treats version
11.10 and later as < 11.8. Compare with Gem::Version instead.