Introduce the variable BUILDEM_ADDITIONAL_CXX_FLAGS which contains -stdlib=libstdc++ if we’re building on OSX10.9 using clang.