makefile.legacy:  Added OMPFLAGS to link for extra programs, since they link memdbg.o built by john build