Updates compiler flags for C++11.