Determine home directory via environment variable

Was necessary to compile statically linked executables...