Fix for ruby-head