tests: avoid deprecated boost headers

Change-Id: I1b79c9422109d2ce8832fd386b524bd9ffffa231
diff --git a/tests/tools/nfdc/execute-command-fixture.hpp b/tests/tools/nfdc/execute-command-fixture.hpp
index f25a942..4abec61 100644
--- a/tests/tools/nfdc/execute-command-fixture.hpp
+++ b/tests/tools/nfdc/execute-command-fixture.hpp
@@ -1,6 +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,
@@ -28,16 +28,20 @@
 
 #include "mock-nfd-mgmt-fixture.hpp"
 #include "nfdc/available-commands.hpp"
-#include <boost/algorithm/string/split.hpp>
+
 #include <boost/algorithm/string/classification.hpp>
+#include <boost/algorithm/string/split.hpp>
+#if BOOST_VERSION >= 105900
+#include <boost/test/tools/output_test_stream.hpp>
+#else
+#include <boost/test/output_test_stream.hpp>
+#endif
 
 namespace nfd {
 namespace tools {
 namespace nfdc {
 namespace tests {
 
-using boost::test_tools::output_test_stream;
-
 /** \brief fixture to test command execution
  */
 class ExecuteCommandFixture : public MockNfdMgmtFixture
@@ -64,8 +68,8 @@
   }
 
 protected:
-  output_test_stream out;
-  output_test_stream err;
+  boost::test_tools::output_test_stream out;
+  boost::test_tools::output_test_stream err;
   int exitCode = -1;
 };