Fixed Setup.rb to use modern rubygems api. works with Ruby 1.9.3 and 2.0.0