build: Fix generation of the component files