Added -lz to LIBS