Refine `nokogiri_lib` to cope with other gems with lib/nokogiri folders

I have a project which includes code from a gem that extends nokogiri, that code lives in `lib/nokogiri/`, which was incorrectly being matched & treated like an installed nokogiri release in `extconf.rb`.

I've altered the extconf script to continue doing what it was while fixing this specific issue.