We should link against -lsocket on solaris