initial htslib code and linking