Fixed issue with lack of DEBUG definitions for build targets all and osx in Makefile.