don't insert files in cmake build directories into index

This change probably won't affect many users, but does make file indexing more useful in e.g. the RStudio sources.