Updated nokogiri workaround.

Default to the latest nokogiri by default, but if syslibs is defined to
be used, we want to check the version and make sure it's a working
version with syslibs.
Do checks on Ubuntu

This appears to be an Ubuntu issue, so this fix will do specific version
checking and workaround on Ubuntu only.