Use Synfig::Mutex instead of Glib::Mutex.