Try building on OS X with libc++

(cherry picked from commit 327181ef18fee22e2c05f2e8303efeffdc63cae0)