Some work on gnuplot and updating build for blocks