Fix Import cmdlet on .NET 4.0 machine