detect zlib avilibility