Added include dirs to extract since we need to know where to find header files to expand macros.