The "Americans" weren't Americans yet, they were are a part of England. They were battling England to gain independence, so technically they're fighting their own country. The definition of civil war is a war between the same group, country, etc. so it counts as a civil war.