Fix Ruby 2.1 build

See https://github.com/travis-ci/travis-ci/issues/2220