Fix ruby 1.8 build on Travis https://github.com/travis-ci/travis-ci/issues/1793