updated Xcode command line tools install procedures, fixes #376, fixes #352