add gethostbyname_r