Fixed pyenv installation and python compilation.

Use definition for pyenv::install and pyenv:compile instead classes.