Fix for dangerous header path. Fixes ROOT-5908.