diff --git a/linphone/mingw-envsetup.sh b/linphone/mingw-envsetup.sh
index f2a48737ffa24407a7531018083045c3da26cbde..9f79d897663a10cd36d2e6317b49088b94fd9900 100644
--- a/linphone/mingw-envsetup.sh
+++ b/linphone/mingw-envsetup.sh
@@ -1,4 +1,4 @@
-export PATH=$PATH:/c/${PROGRAMFILES}/GnuWin32/bin
+export PATH=$PATH:"${PROGRAMFILES}\GnuWin32\bin":"${PROGRAMFILES}\Inno Setup 5"
 export PERL=/c/Perl/bin/perl.exe
 export INTLTOOL_PERL=/c/Perl/bin/perl.exe
 
diff --git a/linphone/scripts/builder-mingw.mk b/linphone/scripts/builder-mingw.mk
index f3be1825ff5132be3ea12f60c7afae15643ceb02..3559ee8beb03663038653bb5816e1ff8b701879d 100644
--- a/linphone/scripts/builder-mingw.mk
+++ b/linphone/scripts/builder-mingw.mk
@@ -21,8 +21,8 @@ $(INSTALL_ROOT): $(WORKDIR)
 
 
 
-#path to Inno Setup 5 compiler
-ISCC=/c/Program\ Files/Inno\ Setup\ 5/ISCC.exe
+#Inno Setup 5 compiler
+ISCC=ISCC.exe
 
 $(LINPHONE_SRC_DIR)/configure:
 	cd $(LINPHONE_SRC_DIR) && ./autogen.sh