wmall: fix build with -DDEBUG enabled.