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