Moved the detection of missing binaries to the main method to get have that
done once before doing anything else to get nicer error messages.