Revert "Use linaro routines"

This reverts commit 6022f640e24b9a07d1bf9751dd2c71484c2f8120.
Don't use O3

Change-Id: Ibd236853cdea54779dbb3756cfcf030dce7da43e
Signed-off-by: Evan Anderson <evan1124@gmail.com>