Fix home directory when system does not support XDG