Fixed python version checker