Use the -stdlib=libc++ flag on OS x

For #31.