Revert "Enable GCC 4.7 and O3"

This reverts commit 45f24957d36b06964da1289b500f77170cea643e.