diff --git a/extras/contrib/src/Makefile b/extras/contrib/src/Makefile
index b0802f61e267767ab2a7189bc5b3774582dda3a3..9ca9ba9c7d637b8425621a509fa5ebde1f49f273 100644
--- a/extras/contrib/src/Makefile
+++ b/extras/contrib/src/Makefile
@@ -1056,6 +1056,7 @@ ifdef HAVE_DARWIN_OS
 	patch -p 0 < Patches/goom.patch
 endif
 ifdef HAVE_WIN32
+	(cd $@; dos2unix configure.in)
 	patch -p 0 <Patches/goom2k4-0-win32.patch
 endif