added makefile fixes