changed compile flag from to -std=c++11 from -std=gnu++0x