changed src so the libpg headers are now used