Fixed some configuration logic when kdl and/or xsd is not found