Fix travis build for ruby-head.