adding zlib linking