Add in libnv from -HEAD.

I just realised how much I don't want to be hand-crafting this crap
and libnv should do it for me.  Let's try it out.