Add -DDEBUG to the checkwps build. The tool is supposed to give debug info