Upgrade Doxygen configuration file to 1.8.7.
Cleanup and remove the need for type erasure, letting the compiler see the lambda.