Link resolv library in Solaris

For some Solaris flavours, the inet_aton in in resolv library. Unlink this library will introduce link error.