Revert "Compile with c++11 standard on gcc >=4.7"

This reverts commit d78026ed6ea8eab2d182f2a0fdd97cfedaa7a7a8.