applied Makefile patch