Add libzfs_core.h to the list of user header files.
Wrap the debug-only "count" variable into an ASSERTV().