Test $(DEBUG) for being non-empty instead of "1" (which it is not)

Change-Id: I22e7a142bb874653344a7ffcc55e8a062669fa2a