add support for rpath and a non-default destdir