DESTDIR support for library search and packlist