[FIX] fixed mingw problems with _mm_pause and thread header