Fixes hash syntax for Ruby < 1.9