Improve heuristic for detecting configure
xml-tooling-c: build against boost 1.55

Closes #24335.