Mavericks Xcode/CLT fixes

Fixes various `brew doctor` warnings and `brew --config` weirdness I've noticed.