Modified scripts to use libstdc++ on OS X 10.9 or later.