Added Makefile to support compilation on Linux and Mac platforms.