fix compile in xaml
replace pthead with std::thread