Fixed setsockopt for MinGW32.