Rename debug function in Makefile