Add source indexing to build