added make memcheck option to Makefile