build: an optimisation for includes file handling