Add a cmake option to install a newer version of libstdc++ on OS X

Fixes #437