cross-platform user homedir finding