fix compiling error when archiving.
merge fix from slavik.
add build script to automate build product copying.
Merge branch 'master' of https://github.com/jerryrt/Chameleon into upstream
Merge pull request #1 from jerryrt/master

build settings update