Adding #ifdef around TermColorMutex based on feedback from Craig Topper.