compile the whole build with O3 flag

Change-Id: I92d5951a90be2ed8e69aa5f67d1f1ff60507c790