fix build without if_team.h