Fixed crash when checking tinyxml introduced by previous commit