Remove some dll references