Add missing debug preprocessor macros to avoid try to use debug functions when building in release mode. Fixes release builds.