Add debug flag to makefiles