fixed lua_uname() code for windows
added paths.findprogram and adjust gnuplot.lua