Fixes hash definitions for Ruby 1.8

Several of our old systems still use Ruby 1.8. This patch makes the cookbook run for me.