Add OSX/rbenv protections