Add compatibility mode to load activiti.cfg.xml