Try internal z library, and if don't have that, try external zlib library.