strip artifacts of iostream from library