fix lookup of conf_dir