Make sure bundled libs don't pull in other libs.
libtiff pulls in liblzma.
Handle opencv using a different soname for linking.