fix(CMakeLists.txt): build CAPD without making shared library