Use postgresql include dir
Fix weird compilation error

For some reason the old order caused 'undefined reference' errors on
some machines.