Fix travis on Ruby 1.8