Improved build scripts and config files

Impriove build system.

Especially cross building system.
It has toolchain feature. it's compiler setting set.