Fixed error on some older versions of gnuplot where GPVAL_TERMINALS is not defined.