compile with -std=c++0x