read version from pg_ctl rather than pg_config