Replace pthread with boost::thread
Add boost thread in the travis install script
The return value of WaitForInternalThreadToExit has reversed
Merge pull request #1000 from kloudkl/boost-thread

Replace pthread with boost::thread