Remove old runtime libraries before creating new ones.