uv: disable have ifaddrs and pr_set_name,

  which leads compilation failure.
compilation: fix compilation error and warning