Fix configuration file loading.