Auto-register prefixes for inserted data

Now it is actually working

Change-Id: Ifcc46a765fa399b10d05f6a98c23c753f57d9f0a
Refs: #4247
diff --git a/wscript b/wscript
index fc3de3b..ed3e3c4 100644
--- a/wscript
+++ b/wscript
@@ -34,12 +34,11 @@
     conf.env['WITH_TESTS'] = conf.options.with_tests
     conf.env['WITH_TOOLS'] = conf.options.with_tools
 
-    USED_BOOST_LIBS = ['system', 'iostreams', 'filesystem']
+    USED_BOOST_LIBS = ['system', 'iostreams', 'filesystem', 'thread', 'log', 'log_setup']
     if conf.env['WITH_TESTS']:
         conf.define('HAVE_TESTS', 1)
         USED_BOOST_LIBS += ['unit_test_framework']
-
-    conf.check_boost(lib=USED_BOOST_LIBS, mandatory=True)
+    conf.check_boost(lib=USED_BOOST_LIBS, mandatory=True, mt=True)
 
     try:
         conf.load("doxygen")