update Makefile to find postgres libdir

finding the postgres libdir via the pg_config tool