Fix compile error when not building with CONFIG+=debug

There are still some warnings left, but at least it compiles now.

Signed-off-by: Dirk Hohndel <dirk@hohndel.org>