fix conditional for rbenv and brew