build: Always build in C++11 mode.

Change-Id: Id8c26bc5951a0b60c4f2f0868ad0167b2f0d56af
Refs: #2103
diff --git a/src/interest-table.cpp b/src/interest-table.cpp
index ef7193a..5b97f0a 100644
--- a/src/interest-table.cpp
+++ b/src/interest-table.cpp
@@ -44,20 +44,27 @@
   bool doesExist = erase(digest);
 
   UnsatisfiedInterestPtr request =
-    boost::make_shared<UnsatisfiedInterest>(interest, digest, isKnown);
+    make_shared<UnsatisfiedInterest>(interest, digest, isKnown);
 
   time::milliseconds entryLifetime = interest->getInterestLifetime();
   if (entryLifetime < time::milliseconds::zero())
     entryLifetime = ndn::DEFAULT_INTEREST_LIFETIME;
 
   request->expirationEvent =
-    m_scheduler.scheduleEvent(entryLifetime, ndn::bind(&InterestTable::erase, this, digest));
+    m_scheduler.scheduleEvent(entryLifetime,
+                              [=] () { quiteErase(digest); });
 
   m_table.insert(request);
 
   return doesExist;
 }
 
+void
+InterestTable::quiteErase(ndn::ConstBufferPtr digest)
+{
+  erase(digest);
+}
+
 bool
 InterestTable::erase(ndn::ConstBufferPtr digest)
 {