But the 7zip library is included with uppsrc I think?
No. The only use of 7z now is for Win32 U++ installer. In that case, everything is packed using 7z commandline and unpackaged by installer, using the 7z code. If I remember well, 7z unpacker is public domain (but even if it would not, I would be happy to provide installer's sources .