[header] Use element folder in dependency path.