only set cmake osx rpath policy for cmake >= 3.0