tools: patch: Fix build by not modifing Makefile.am