Test for Windows correctly on JRuby.

Conflicts:
	lib/resolv.rb