Add compatibility with libc++.