Safer version check for pylint.