Fix handling of sysconfdir.