makefile: Add rules for automatically rebuilding configure in maintainer mode.