adapting to the release of factory 4.0.0, part 3

- fix makefile so it doesn't try to patch configure.ac
- include the patched configure.ac and the files generated from it
  in the tar file