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 0.6.5 in 9 minutes and 52 seconds
latest
Status Job ID Name Coverage
  Start
passed build-start #12591106

00:09:52