removed sudo from brew update
OSX 10.9 fixes
check for libc++ version