Update the drakefile so as not to always activate debug for tests.
Update the generated Makefile so as to take into account the debug.