1. Add simple C API test in C++ program. 2. Add simple C API test in C program. 3. Fix including capi.h in C++ files.