Modify gem to build under Ruby 1.9