From Pere: go via TSystem to use prefix if defined (ROOT-6410).