Only define next_pd and next_offet if HAVE_PLUGINS is #defined, since