Fix pyenv testing for osx