Explicitly include TSystem.h where needed.
This is required by the latest ROOT release (used in dev4). It also compiles in older releases, of course.
@flegoff , this can be safely merged for nightly, and fixes an upcoming issue in newer ROOT versions.