std::bind build fix for VS2012
Merge pull request #4771 from raven02/patch-33

std::bind build fix for VS2012