forget to include README.template and fix a bug in build samples.