IE10 Ruby 2 fixes

Comparing version numbers as strings was not working with Ruby 2 for IE `UserAgent` objects. This fixes it.