Adding -stdlib=libc++ on MacOSX when compiling with clang.