Most likely you don't have postgres installed in /usr/local/pgsql so you'll have to modify the makefile file postgres.
In the makefile there are some settings for RedHat (you'll want to change PGINC, PGLIB).
You also might try locate libpq-fe.h that might help you find out where it is so you can modify the makefile.