corrected makefile for debug mode