Use proper version for getopt
Use any available pgsql version
Merge pull request #2 from kpy3/fix_getopt_version

Use proper version for getopt