Fix problem where hostname would end up with trailing . and be accepted as
[m6w6/libmemcached] / unittests /
drwxr-xr-x   ..
-rw-r--r-- 499 include.am
-rw-r--r-- 462 main.cc
-rw-r--r-- 3414 strings.cc