Use boost:bind() as the docs show. Allows compilation with older gcc versions.