It could very well be that avast is detecting it as a pup, but you have to enable pup-detection as it is disabled by default.