MacPorts compilation support

Fix main.o compilation and add definition of MacPorts specific env variables
Merge pull request #1 from has207/master

Add support for MacPorts to the Makefile
Merge remote-tracking branch 'udacity/master'

Conflicts:
	HW1/student/Makefile