implemented proper system_hostid for posix systems