a much more robust tools/build-beta