added C++11 flag