Support the apr-1-config program and apr-config for configuration of APR.
Added the PostgreSQL library path to the build since it might not always be installed in the root directory.
Flag the file as Python.
On CentOS, OpenSSL is compiled with flags which may be quite important. Add them to the compilation LD flags.