Remove assemblies from `New-Object` that won't be available on Linux/Mac.