Fixing cmake build on mac
 - enforcing -stdlib=libstdc++ for all modules