build: Regenerate c-code on build-system changes