Fix build error, cleanup CSecret artifact, and change main.h include to core.h