Remove use of non-C++ timing code in favour of code from std::chrono.
Remove pthreads code now that std:thread is established.
Update build.