Fix Rakefile syntax for Ruby 1.8.7

Travis is failing on Ruby 1.8.7 due to Rakefile syntax. This patch fixes it.