More changes to control the installation (with CMake and  gnuinstall=ON) addressing the issues in ROOT-5753.