build: handle libsmbclient by SMB_LIBRARY() and correctly create soname file.