Loosen overly strict dependencies

Makes it possible to use this gem with later versions of Nokogiri.