Fix hash notation for Ruby 1.8