Fix loading of configuration file.