Fixing Android compile errors.