Get home directory path on any platform