patched Makefile