diff --git a/Makefile b/Makefile
index 976a0f2efc9180ce01cf74708165e96608e9c5ec..9b93a9a1a96ae1481d679cc023a09311575116a1 100644
--- a/Makefile
+++ b/Makefile
@@ -66,6 +66,7 @@ clean:
 	cd Gem/src/ && rm -rf ./.libs && rm -rf ./*/.libs
 	cd Gem/ && test -f Makefile && make distclean || true
 	cd Gem/ && rm -f gemglutwindow.pd_linux Gem.pd_linux
+	rm -rf packages/*/build/
 
 realclean:
 # This requires a working copy of the git repo.
diff --git a/l2ork_addons/tar_em_up.sh b/l2ork_addons/tar_em_up.sh
index 77464456148d023195d27e14b9d38577913a1309..a7d7247bd50592e87b2b5d506c8e7737693c8ea3 100755
--- a/l2ork_addons/tar_em_up.sh
+++ b/l2ork_addons/tar_em_up.sh
@@ -299,8 +299,8 @@ then
 		cp ../../pd/src/m_pd.h ../../externals/build/include
 		cp ../../pd/src/s_stuff.h ../../externals/build/include
 		cp ../../pd/src/g_all_guis.h ../../externals/build/include
+		rm -rf build/
 	fi
-	rm -rf build/
 	if [ $rpi -eq 0 ]
 	then
 		echo "installing desktop version..."