adapting to the release of factory 4.0.0, part 4

fix factory Makefile so patching configure.ac works