Fix nokogiri dependency to 1.5.x for ruby 1.8.7