Correctly detect if we compile on windows
Correctly detect if we compile on windows

Motivation:

a61c1a897ef13916a70ff1bd7fb676cdae447ff8 introduced some platform specific code but not correctly detected if we are on windows in all cases.

Modifications:

Correctly detect.

Result:

Be able to compile on windows as well

netty/netty-tcnative,netty/netty-tcnative,netty/netty-tcnative,netty/netty-tcnative