Makefile: apply endriss patch
Credits: Oliver Endriss