Run a check to see if waf has confused itself, and if so, reconfigure.

git-svn-id: svn+ssh://svn.code.sf.net/p/xmds/code/trunk/xpdeint@2869 41b19578-b77a-4e3b-9682-c8570d237623