Revert "Switch to libc++ when building osx lib"

This reverts commit 59aa410e2b8a44220a7dc66170d27adde2789fe2.