osx: fix install

Use POSIX compliant -R parameter instead of obsolete -r.
On linux they are equivalent, on OS X -r is not supported.