Using getenv HOME instead of getpwuid  which is statically linked