fix Makefile in patch for bug-808370