Only use YAML::ENGINE if defined