Fix android build errors.