Fix the compatibility issues of std::bind