updated cmake file so mac uses clang++ for c++11 support