Use boolean value of DEBUG if DEBUG constant is defined