Revert "back to o2"

This reverts commit 7854735bc957983a764fe8401b363862d6e9aae6.
Revert "GCC back to 4.7"

This reverts commit c8bdfdad154b49ab2600dbd98d7bb9e8102ceb8e.