Fix compile error with codispatch and friends.
The boost.thread library is needed to satisfy some dependencies.