Use boost::bind instead of std::bind to compile with C++03