The uv_udp_connect() function is available from libuv 1.27+, move the code to connect to udp socket to a (limited) shim function called isc_uv_udp_connect().