separate makefiles for mac and linux