DEBUG mode now set in CMakeLists file rather than hardcoded.