fixed autogen script to correctly substitute ANSI escape char in configure
added detection for sethostname() call
...