Use version_compare rather than <

The current code uses a string comparison to check the version number, this produces a false negative for e.g. '5.3.10' which is lexicographically less than '5.3.2'. Using PHP's built-in version_compare solves this issue.