Fix to make STP work on .NET 2.0 sp0

The referenced commit makes STP compatible with unpatched .NET 2.0, yet doesn't cause any problems on patched or later versions of .NET.