added file exclusion in build optimization