Add option for Boost threading