Define DEBUG when doing a Debug build
Add missing header inclusion to debug.h
Fix formatting: __LINE__ is a number, not a string
Add missing newline in debugging macro
Fix source file specific debugging macro
Add missing casts to void* to satisfy -Wformat
Add missing length modifier to format string
Merge pull request #225 from neithernut/add-build-debug_flag

Add build debug flag