updated to work with new htslib packages for bcftools