Fix build error in .NET 2.0

.NET 2.0 doesn't support optional parameters on older compilers