fixes #158 .NET 3.5 compilation fails for test project