Replaced lambda with bind
Silencing useless linker warning