Avast was compiled using MS Visual Studio.NET, that is, for the case of Avast, these files would be called msvcr70.dll and msvcp70.dll.
So just install it from the MS website.
This has been explained in several threads on this board already. Use the search function to find them.