Fixed Makefiles on Mac