distutil.version is not in distutil all
use the comparability of LooseVersion to do version checking
Merge pull request #7002 from riverajo/postgres-distutil

Postgres distutil