fixing up compilation of samtools API