common: fix build with Boost 1.76.0

Change-Id: Ie0e6472147242400645c84b125d2ab262f097734
diff --git a/ndn-cxx/detail/common.hpp b/ndn-cxx/detail/common.hpp
index ace537b..c65fa09 100644
--- a/ndn-cxx/detail/common.hpp
+++ b/ndn-cxx/detail/common.hpp
@@ -84,8 +84,11 @@
 
 using namespace std::placeholders;
 
+#include <boost/version.hpp>
+
 /// \cond
 // Bug 2109 workaround
+#if BOOST_VERSION < 107600
 #define BOOST_BIND_NO_PLACEHOLDERS
 #include <boost/is_placeholder.hpp>
 namespace boost {
@@ -108,6 +111,7 @@
 NDN_CXX_SPECIALIZE_BOOST_IS_PLACEHOLDER_FOR_STD_PLACEHOLDER(9)
 #undef NDN_CXX_SPECIALIZE_BOOST_IS_PLACEHOLDER_FOR_STD_PLACEHOLDER
 } // namespace boost
+#endif // BOOST_VERSION < 107600
 /// \endcond
 
 #include <boost/assert.hpp>