Move android optimization flags to the right place.