#if DEBUG_VIEWER instead of #if defined() (nw)