build: clean up autoscan-generated build system.