Added fix to make nio4r work correctly on JRuby for Windows (it currently crashes in selector.rb:66 with an Unknown Error (20047))