more autotools config tweaks; make distclean

I think I broke something, see the `remake` logs...

(too tired to write more detailed commit log)
these files were supposed to be deleted in the previous commit

they are gitignored now because `make distclean` removes them