Modified Makefile to fix linker issues.