Revert "enable c++11"

This reverts commit 32152af698dffc32de3871b570deb6815b6927bb.
check c++11 support by autotools