Fixes for chruby.