Use build metadata to fixup wrangler version checking.
Make wrangler version determination pluggable.

I'd like to use other mechanisms for this internally.