Fix build on Rubinius, see https://github.com/travis-ci/travis-ci/issues/2542.