fix typo in config.mk
settings.c: only include basedir.h if needed
only add libxdg-basedir as dependency when needed
remove unused INIFLAGS
make missing dependencies non fatal at make clean
fix warning about discarding const