You have built the Boost library with thread support.

Don't forget to add -lpthread to your linker options when
linking your code.

