`HOST_OS := $(shell uname)`, so you should do `ifeq ($(HOST_OS),Darwin)` here