cleanup of debug code in project.mk