Fix python for recent Windows related changes