remove  -std=c++0x from AM_CXXFLAGS