Replace usage of std::bind with lambda

Change-Id: I198aefde9fffb56b7763b303520d933daa6590ce