Improve "install.packages" handling on Mac OS X