[embind] Fix benchmark to build again.

Make up for the last year of API changes.