make sure ROOT is used in the main lib only when USE_ROOT is set;
fix apparent garbage on line end in source file causing problems on a SL5 machine