Update makefile to compile a version compatible with debugger. Added -g flag