Use mime-types ~> 1.25 on JRuby in Ruby 1.8 mode