Mutex build fix