set PGPLOT_DIR if autobuild
change autobuild scheme; autobuild through Makefile
improve dependencies for autobuild