fix legacy BAM support installation