update Makefile to find postgres libdir