ci: minimize installed libboost packages

Change-Id: Id951109d6be1f5ba86454625e1d15ad739011ddb
diff --git a/.jenkins.d/04-ndn-svs.sh b/.jenkins.d/04-ndn-svs.sh
index 5105197..b6d6e82 100755
--- a/.jenkins.d/04-ndn-svs.sh
+++ b/.jenkins.d/04-ndn-svs.sh
@@ -41,9 +41,9 @@
 popd >/dev/null
 popd >/dev/null
 
-if [[ $ID_LIKE == *fedora* ]]; then
-    sudo tee /etc/ld.so.conf.d/ndn.conf >/dev/null <<< /usr/local/lib64
-fi
 if [[ $ID_LIKE == *linux* ]]; then
+    if [[ $(uname -m) == x86_64 && -d /usr/lib64 ]]; then
+        sudo tee /etc/ld.so.conf.d/ndn.conf >/dev/null <<< /usr/local/lib64
+    fi
     sudo ldconfig
 fi