Made some minor changes to Makefile which gets the code to compile on my system.