cast the installed version to an int

`true` < 1111111 was returning false, so some plugins were not being updated.
Merge remote-tracking branch 'upstream/master'