Enable build optimizations

Change-Id: If514943acd31555369bb15768b141a1a55041df4