Require yaml and tinyxml when external deps are used