ci: compile-check installed headers

Script copied from ndn-cxx with minor modifications

Change-Id: Ib2e82e97161078d653f965c769de149cc28c60dd
diff --git a/.jenkins.d/02-cleanup.sh b/.jenkins.d/02-cleanup.sh
new file mode 100755
index 0000000..69c52e9
--- /dev/null
+++ b/.jenkins.d/02-cleanup.sh
@@ -0,0 +1,8 @@
+#!/usr/bin/env bash
+set -ex
+
+PROJ=PSync
+
+sudo rm -fr /usr/local/include/"$PROJ"
+sudo rm -f /usr/local/lib{,64}/lib"$PROJ"*
+sudo rm -f /usr/local/lib{,64}/pkgconfig/"$PROJ".pc