Replace pthread with boost::thread
Add boost thread in the travis install script