(not tested) better Makefile for osx