added -std=c++11 flag