Updated Makefiles for proper redistribution.