diff --git a/Makefile b/Makefile
--- a/Makefile
+++ b/Makefile
@@ -118,7 +118,7 @@ GIT ?= git
PYTHON ?= python
UNIX2DOS ?= unix2dos
-UNIX2DOS_FLAGS ?= $(shell [ -n $(UNIX2DOS) ] && $(UNIX2DOS) -q --version 2>/dev/null && echo "-q" || echo "")
+UNIX2DOS_FLAGS ?= $(shell [ -n $(UNIX2DOS) ] && $(UNIX2DOS) -q --version 2>/dev/null 1>& 2 && echo "-q" || echo "")
################################################################
# Get the Repository revision, tags and the modified status