Pull requires out of methods
Remove unused require
Remove more unused requires
Fix typo
Use .each, not .all? to enumerate formulae
Remove unnecessary string evals from doctor
Remove obsolete doctor check

Both build environments remove MACOSX_DEPLOYMENT_TARGET by default.