Replace "bind" with "std::bind"

Mac OS compiler said it cannot find "bind" function. 
So I replace them with "std::bind", which is used in all other cases in this file.