Fix problem building with --without-libplot