Added an explicit inclusion of QMutex header into fem.