macx clang++ issues