add CMakeLists.txt for C wrapper