Added -std=c++0x compile flag