Revert "Revert "Enable O3 optimization""

This reverts commit dbfb260eb313162d9d5cbc5a2de86a64c8199b81.

Change-Id: Id0581e24ed88b87ed0775f3c26957b9b9f31dc4e