Add '-std=c++11' option to project.