Silence the SocketOption error on linux and mac. This value only needs to be set on windows.