fix libz warning