Bkreider/postgres

@asmeurer I've fixed the postgres build for OSX and PostGIS.  Can someone test and merge my PR?  

@tpn I figured out the Postgres issue on OSX.  It wasn't the Library paths that were wrong during the configure step, it was running the a.out binary during the compilation test.  The dynamic library path wasn't picking up the libxml2 library in $PREFIX.