added flag to compiler to use the C++ 11 features.