add autoconf magic for lsocket and lnsl