Improve bundled library check.

IMP DSOs should not be linking to any library (other than other parts of
IMP or RMF) in /usr/local/lib/. Such libraries (installed by homebrew)
typically won't exist on the user's machine.
Use the name that was linked against.
Add missing bundled library.
echo no longer accepts (or needs) the -e option.
Make sure bundled libs don't pull in other libs.
libtiff pulls in liblzma.
Handle opencv using a different soname for linking.
Use DESTDIR.

(Files aren't in their final locations yet.)
Note workaround for 'unknown developer' error.
Make sure we don't use the echo builtin.