Use correct C++11 flag for the compiler.
Remove deprecated std::(tr1::) checks