Consistent use of USE_MINGW

Change-Id: I05e212e5a99639d0196006b9c2ec35072c54f399
diff --git a/core/envsetup.mk b/core/envsetup.mk
index d0b5846..87371b9 100644
--- a/core/envsetup.mk
+++ b/core/envsetup.mk
@@ -58,7 +58,7 @@
 # Under Linux, if USE_MINGW is set, we change HOST_OS to Windows to build the
 # Windows SDK. Only a subset of tools and SDK will manage to build properly.
 ifeq ($(HOST_OS),linux)
-ifneq ($(USE_MINGW),)
+ifdef USE_MINGW
   HOST_OS := windows
 endif
 endif