added HAVE_STDMUTEX_H check for c++11 mutexes detection