Update build setting for c++11.