Small corrections of the build environment

Change-Id: I613e2bebc3dc0d3796db3552d3d270fbee054f50
diff --git a/.jenkins.d/20-build.sh b/.jenkins.d/20-build.sh
index de9d590..d8d5be9 100755
--- a/.jenkins.d/20-build.sh
+++ b/.jenkins.d/20-build.sh
@@ -45,6 +45,6 @@
 
 if has Linux $NODE_LABELS; then
     sudo ldconfig
-elif has FreeBSD $NODE_LABELS; then
-    sudo ldconfig -a
+elif has FreeBSD10 $NODE_LABELS; then
+    sudo ldconfig -m
 fi
diff --git a/wscript b/wscript
index 44ac6f2..d0c3075 100644
--- a/wscript
+++ b/wscript
@@ -19,7 +19,7 @@
                    help='''Build unit tests''')
 
 def configure(conf):
-    conf.load(['compiler_c', 'compiler_cxx', 'gnu_dirs', 'boost', 'default-compiler-flags', 'sanitizers', 'sphinx_build', 'doxygen'])
+    conf.load(['compiler_c', 'compiler_cxx', 'gnu_dirs', 'boost', 'default-compiler-flags', 'sphinx_build', 'doxygen'])
 
     conf.env['WITH_TESTS'] = conf.options.with_tests