update tinyxml, also fix legacy makefile
cmake: build with the systems libtinyxml by default, but allow fallback
add module for finding it