Replace Ruby 1.9-specific Hash syntax for 1.8.x compatibility. See #5.