Put all required libraries in NVIM_LINK_LIBRARIES.
Fix linking on FreeBSD.

The uv library requires kvm under FreeBSD.  We should parse the package
config, but it would be pointless anyways since it doesn't mention you
need kvm.
wip: more freebsd fixes