[boost] Building ThreadPool with boost::function in boost::lockfree::queue