Fix DEBUG in generated makefiles