Update for compilation on SL(C) 6
As promised (a too) long time ago, here come the updates to make the compilation backward compatible for SL 6 machines again. Tested on different machines and against regression on CentOS 7 (ATLLARONL-248).
There are also some formal improvements (source script not executable, in order to avoid unintended confusion), ignore build directory in git, …