Build with Boost::Thread library

Add the Boost::Thread library to the build.