Differentiate c and cpp source file when searching headers.