made make file work for mac too