Add -std=c++11 for clang compilation.