--- old/make/ModuleWrapper.gmk 2019-02-05 15:44:54.146734023 +0100 +++ new/make/ModuleWrapper.gmk 2019-02-05 15:44:53.958734022 +0100 @@ -42,7 +42,7 @@ include $(MAKEFILE_PREFIX)-$(MODULE).gmk # Setup copy rules from the modules directories to the jdk image directory. -ifeq ($(OPENJDK_TARGET_OS), windows) +ifeq ($(call isTargetOs, windows), true) TO_BIN_FILTER := %$(SHARED_LIBRARY_SUFFIX) %.diz %.pdb %.map $(eval $(call SetupCopyFiles, COPY_LIBS_TO_BIN, \