mem_util/makefile: Take LDFLAGS set in environment