Fix build with latest ndn-cxx

Change-Id: I016e054fcb80ef30c27dbf8d77085c38a748dfe1
diff --git a/src/encryptor.cpp b/src/encryptor.cpp
index b41af4c..31acda5 100644
--- a/src/encryptor.cpp
+++ b/src/encryptor.cpp
@@ -1,6 +1,6 @@
 /* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */
 /*
- * Copyright (c) 2014-2023, Regents of the University of California
+ * Copyright (c) 2014-2024, Regents of the University of California
  *
  * NAC library is free software: you can redistribute it and/or modify it under the
  * terms of the GNU Lesser General Public License as published by the Free Software
@@ -117,7 +117,7 @@
 Encryptor::encrypt(span<const uint8_t> data)
 {
   // Generate IV
-  auto iv = make_shared<Buffer>(AES_IV_SIZE);
+  auto iv = std::make_shared<Buffer>(AES_IV_SIZE);
   random::generateSecureBytes(*iv);
 
   OBufferStream os;
@@ -192,7 +192,7 @@
     EncryptedContent content;
     content.setPayload(kek.encrypt(m_ckBits));
 
-    auto ckData = make_shared<Data>(Name(m_ckName).append(ENCRYPTED_BY).append(m_kek->getName()));
+    auto ckData = std::make_shared<Data>(Name(m_ckName).append(ENCRYPTED_BY).append(m_kek->getName()));
     ckData->setContent(content.wireEncode());
     // FreshnessPeriod can serve as a soft access control for revoking access
     ckData->setFreshnessPeriod(DEFAULT_CK_FRESHNESS_PERIOD);