Try building on OS X with libc++

(cherry picked from commit 327181ef18fee22e2c05f2e8303efeffdc63cae0)
(cherry picked from commit 3e46b6134eb9788b9431f4bb5e4cff570bb79a6c)