[pgplot] Fix FTBFS