add conditional in Makefile for Mac / Linux variants