diff --git a/build.sh b/build.sh
index 51f2156c13b5c1011ad6b2dbc512b335d8435cd0..716e4b0cc43c8c5c5287d66489460e84ca4c5c06 100755
--- a/build.sh
+++ b/build.sh
@@ -140,7 +140,7 @@ prepare_generic()
 
 	echo "Retrieving libxml2 (this may take a while)..." | tee -a $LOGFILE
 	cd $ROOT/3rdparty || failure
-	wget ftp://xmlsoft.org/libxml2/libxml2-sources-2.6.32.tar.gz >> $LOGFILE 2>&1 || failure
+	wget --passive-ftp ftp://xmlsoft.org/libxml2/libxml2-sources-2.6.32.tar.gz >> $LOGFILE 2>&1 || failure
 	tar -xzf libxml2-sources-2.6.32.tar.gz >> $LOGFILE 2>&1 || failure
 	rm libxml2-sources-2.6.32.tar.gz >> $LOGFILE 2>&1 || failure
 	# substitute old source tree