Fixed Python version check.