backup of Bzip2, Zlib and libjpeg from the original authors