more fixes for rbenv