-std=c++11 flag now added for clang