Add missing import sm_mutex, which fixes the -fvia-c build