Compilation fix.

We can't forward declare TinyXML classes as they in some cases will be
typedefs.