Change R deploy settings to work in OSX