Fixed tinyxml2 failing to link with other projects with system tinyxml2 #767