Fix the preprocessor checks used to determine if backtraces have been enabled.