Simplify initialization of Pathfinder using C++11 constructs.

Spun off another change, not hugely important...