Added configure check for socklen_t.