Install build dependencies when installing ruby.