Don't use DEPRECATED_DEFINE_STATIC_LOCAL for mutexes