Fixed variable definition error, the `DEBUG` define is now correctly set in debug mode.