using different strategy for rpath modification on osx