sethostname fix for sun [2]