Fix specs on Ruby 1.8.7

Nokogiri 1.6.x doesn't support Ruby 1.8.7.