Fix ifdef for adaptive mutexes.