add implementation of getifaddrs for solaris