Update build_component.py; Fixed issue# 8

Copies files to the subdirectories of the build target dir. Xuefeng and I worked on this and tested it to make sure it works.