support using system z,bz2 libs.