configure: Allow out-of-tree builds from an unclean source tree.