solaris: we need -lsocket and -lnsl for all builds not just examples

Signed-off-by: Ronnie Sahlberg <ronniesahlberg@gmail.com>