Update pgagent to 3.4.0. Misc minor fixes to Makefile.