Compile with std=c++0x
changes