Don't add extern "C" namespace around thread.h if MSC_VER is defined