Restore the zlib / zlib-dynamic logic