Using more explicit c++11 flag for compiling