Fix specs with Ruby 1.8.X