Added -std=c++11.