fix error with newer Qt in qmutex plugin