Only clean up config variables if there actually is any
Find module for TinyXML

This reuses most of the OPM infrastructure, even if it isn't an OPM
project. Thus it probably have little value outside the OPM family.
Use system TinyXML if available; otherwise our own