add auto-include source code to build scripts