change rakefile back to support pre-ruby 2.0