passing std=c++11 for GNU 4.8 C++ compiler to work.