fixed #3581
		1.  add CCComBase.h  to  all samples and template on all platforms.
                 2.  fixed build error.