Support Ruby 1.8 fix GH-1