Make ruby-build work.
Better ruby version calculation.