use CMS_THREAD_SAFE macro to hide CXX11 attributes from reflex