Add test whether "-stdlib=libc++" needs to be added to the command line.

For clang++ on Mac OS X.