Sync with libucl
Sync libnv with FreeBSD head