added root6 compatibility and enabled c++11/fixed missing library in utils