fixed an error for setting SO_REUSEPORT on supported platforms