Changes g++ flads to use C++11