changed to -std=c++0x