add support for XDG_CONFIG_HOME as per FreeDesktop basedir spec