Cover up nokogiri-java bugs