loader: fix non-zfs build
We can not include zfs headers while building without zfs.
Reported by: Oscar Holmlund