compile using -O3

Change-Id: Ica9588e1204fd27e23ff27bc5a28f58db1689f04