Added compatibility with Linux

There is a problem compiling in Linux with the function "itoa" with 3 parameters. A change of "itoa" by "sprintf"
was realized in lines 4022, 4023, 4356. The new .tpl compiles in Linux and Windows and the results are the same.
run.sh and cleanad.sh was created to work in Linux and they have the same function of run.bat and cleanad.bat.