Add CapNegotiation Feature flag, fix CMakeLists