waf: Add autoconf --target support.