Add an explicit check on libcap in src/CMakeLists.txt