tests: avoid deprecated boost headers

Change-Id: I1b79c9422109d2ce8832fd386b524bd9ffffa231
diff --git a/tests/other/benchmark-helpers.hpp b/tests/other/benchmark-helpers.hpp
index 6dc7cf4..b757e1c 100644
--- a/tests/other/benchmark-helpers.hpp
+++ b/tests/other/benchmark-helpers.hpp
@@ -1,5 +1,6 @@
+/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */
 /*
- * Copyright (c) 2014-2017,  Regents of the University of California,
+ * Copyright (c) 2014-2019,  Regents of the University of California,
  *                           Arizona Board of Regents,
  *                           Colorado State University,
  *                           University Pierre & Marie Curie, Sorbonne University,
@@ -29,7 +30,7 @@
 #pragma GCC system_header
 #pragma clang system_header
 
+#define BOOST_TEST_DYN_LINK
 #include <boost/test/unit_test.hpp>
-#include <boost/test/output_test_stream.hpp>
 
 #endif // NFD_TESTS_OTHER_BENCHMARK_HELPERS_HPP