The LDFLAGS definition was removed with the previous commit, but LDFLAGS+=-lz is still required for newer gcc with new binutils.