Improve lightly the scripts to build packages for debian and redhat based-distribution