Item12864: don't use DEBUG constant for debug

... as it conflicts with Assert.pm