Fixed zlib linking on some configs