Update build script.
Fix bug in build script.
Continue to modify build scripts.
Add copyrights to mk build script.
Improve build scripts.