Added config flag to compile with C++11 support