Add -std=c++0x flag to CXXFLAGS

This way g++ stops complaining about missing type in namespace `std'.