added missing -DDEBUG compile option