Properly handle rpath on macOS

Without this, the install_name of JAlienROOT is libJAlienROOT rather than
@rpath/libJAlienROOT, with the result things might break when SIP is
enabled.
1 job for master in 6 minutes and 24 seconds (queued for 1 second)
Status Job ID Name Coverage
  Start
passed build-start #12591012

00:06:24