Fix configuration file resolution