Bring back pthread support into Threads.cpp instead
of using clone() ourselves.