Turns out building zfs into the kernel is very easy, if you happen to be building the kernel for some other reason already.