add ifndef __CINT__ to modules/Weighter.h
adapt CMake files to ROOT 6