Enable build optimizations

Change-Id: Ib5672e2d2f828a32d3d76dabffcaecd49e27f60b