Add RVM optional dependencies to compile Ruby