Added fix for Ruby 2.1 on Travis.