Maybe guarding it in `ifeq ($(shell uname -s),Darwin)`?