Fix bug in herd/worker.c to support htslib