Fixing executable name and cleaning up makefile for mac