switched to -std=c++11 flag