Adding support back for libz.