Fixes #1841 : add missing libzfs_core to some Makefiles