Made makefile support debug as a choice