more compat
u_int{16,32}_t compat
use sys/sysmacros.h, where available
Fix --enable-nfs libs