Cleanup chruby code a bit.