Use qualified std::thread to avoid name collisions on AIX
"pthread.h" header on AIX exports a
struct thread which clashes with
std::thread because of
using namespace std. This fixes the current issue but more generally it would be better to not have
using namespace std at all.