Added OS-independent definition of HOST_NAME_MAX