PR #4582 hardcoded "dynamorio" as the library to link to, breaking users (like Dr. Memory) who rely on rpath linking to layers of their own libraries. We fix that here.
Tested on Dr. Memory, where drfuzz tests fail without this fix when using the latest DR.
Issue: #4370 (closed)