Remove unused dll references.