Update python version check