See: C++11/14 (gcc 4.8) now the baseline
You need to be using at least GCC 4.8.
Try installing devtoolset-3.