update for latest htslib API
Merge pull request #8 from sm15/master

update for latest htslib API