Fix bug with Ruby 2.0.0