Fix a bug with Nokogiri:Module

undefined method `jruby?' for Nokogiri:Module