Fix for installation when ROOTSYS is not defined (fix ROOT-5057)