Adding python version_gen because msys-git/bash has weird issues.