Fix running Ruby 2.1.* on Travis.