Fixed issues with makefile. Program now compiles fine on Mac.