Fixed mingw poll detection