Restored Mac functionality for original makefile.