Improve detecting Windows platform.

Hi

nio4r was failing to detect windows platform when using mingw console.
This change will leverage ```Gem#win_paltform?``` helper which covers this possibly other edge cases.