Debug cleanup

Since #117 is fixed, undefining `ENABLE_DEBUG` in `debug.h` is no longer required. That also eliminates the workaround by defining a second debug flag all over the place.