build ruby-head