Cleaned up redundant DEBUG preprocessor checks.