diff --git a/linphone/gtk-glade/Makefile.am b/linphone/gtk-glade/Makefile.am
index 2f23e201bc52dea0c559b68a4e8ff87246165e07..1370554ea6fb128eb01aa006b723c90d960e3037 100644
--- a/linphone/gtk-glade/Makefile.am
+++ b/linphone/gtk-glade/Makefile.am
@@ -15,9 +15,15 @@ PIXMAPS=	linphone2.png \
 		linphone.png \
 		stock_people.png 
 
+LINPHONE_ICO_RC_FILE=linphone.rc
+LINPHONE_ICO_FILE=linphone.ico
+
 EXTRA_DIST=	$(PIXMAPS) \
 		$(GLADE_FILES) \
-		linphone.iss 
+		linphone.iss \
+		$(LINPHONE_ICO_RC_FILE) \
+		$(LINPHONE_ICO_FILE)
+
 
 if BUILD_GLADE_UI
 
@@ -50,8 +56,8 @@ linphone_3_LDADD=$(top_builddir)/oRTP/src/libortp.la \
 
 if BUILD_WIN32
 
-linphone.res:	linphone.rc linphone.ico
-	windres linphone.rc -O coff -o linphone.res
+linphone.res:	$(LINPHONE_ICO_RC_FILE) $(LINPHONE_ICO_FILE)
+	windres $(LINPHONE_ICO_RC_FILE) -O coff -o linphone.res
 
 linphone_3_LDADD+=linphone.res -lwininet
 linphone_3_LDFLAGS=-Wl,--export-all-symbols -mwindows
diff --git a/linphone/gtk-glade/incall_view.c b/linphone/gtk-glade/incall_view.c
index 793cca06c55a1ff52db6d8fee77cb726ab4f5162..4e857e5741c298dddbd8bea7b15e9124d3577ca0 100644
--- a/linphone/gtk-glade/incall_view.c
+++ b/linphone/gtk-glade/incall_view.c
@@ -1,4 +1,22 @@
 /*
+linphone, gtk-glade interface.
+Copyright (C) 2009  Simon MORLAT (simon.morlat@linphone.org)
+
+This program is free software; you can redistribute it and/or
+modify it under the terms of the GNU General Public License
+as published by the Free Software Foundation; either version 2
+of the License, or (at your option) any later version.
+
+This program is distributed in the hope that it will be useful,
+but WITHOUT ANY WARRANTY; without even the implied warranty of
+MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+GNU General Public License for more details.
+
+You should have received a copy of the GNU General Public License
+along with this program; if not, write to the Free Software
+Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA  02111-1307, USA.
+*/
+/*
 *  C Implementation: incall_frame
 *
 * Description: 
@@ -6,7 +24,6 @@
 *
 * Author: Simon Morlat <simon.morlat@linphone.org>, (C) 2009
 *
-* Copyright: See COPYING file that comes with this distribution
 *
 */
 
diff --git a/linphone/gtk-glade/update.c b/linphone/gtk-glade/update.c
index e904f5c54e9d9c83ebb3fab17fe2c4455be1a247..85ef8d70884443b7d8a5efd0615c02f0cc1f8e2c 100755
--- a/linphone/gtk-glade/update.c
+++ b/linphone/gtk-glade/update.c
@@ -108,7 +108,6 @@ static int version_compare(const char *v1, const char *v2){
 	v1+=copytilldot(n1,v1);
 	v2+=copytilldot(n2,v2);
 	ms_message("Comparing %s <> %s",n1,n2);
-	fflush(stdout);
 	ret=strcmp(n1,n2);
 	if (ret==0) return version_compare(v1,v2);
 	else return ret;
diff --git a/linphone/scripts/builder-mingw.mk b/linphone/scripts/builder-mingw.mk
index 41c0643eec4225b0e4e2470506b856fb3e031c30..f3be1825ff5132be3ea12f60c7afae15643ceb02 100644
--- a/linphone/scripts/builder-mingw.mk
+++ b/linphone/scripts/builder-mingw.mk
@@ -32,10 +32,10 @@ $(LINPHONE_SRC_DIR)/Makefile: $(LINPHONE_SRC_DIR)/configure
 	./configure --prefix=$(prefix) --enable-shared --disable-static $(LINPHONE_CONFIGURE_EXTRA_OPTIONS)
 
 build-linphone:	$(LINPHONE_SRC_DIR)/Makefile
-	cd $(LINPHONE_SRC_DIR) && make newdate && make && make install
+	cd $(LINPHONE_SRC_DIR) && make newdate && make $(LINPHONE_MAKE_OPTS) && make install $(LINPHONE_MAKE_OPTS)
 
 $(LINPHONE_ZIP):	build-linphone $(WORKDIR)
-	cd $(LINPHONE_SRC_DIR) && make zip ZIPFILE=$(LINPHONE_ZIP)
+	cd $(LINPHONE_SRC_DIR) && make zip ZIPFILE=$(LINPHONE_ZIP) $(LINPHONE_MAKE_OPTS)
 
 install-linphone: $(LINPHONE_ZIP) $(INSTALL_ROOT)
 	cd $(INSTALL_ROOT) && unzip -o $(LINPHONE_ZIP)