Cleanup Makefile.
Use correct hostname length.

HOST_NAME_MAX is defined to be 64, which will fail if the length is more than
64. The maximum length of hostname, according to POSIX, is 255.
Use _POSIX_HOST_NAME_MAX instead.