Fixes so compiles in .NET 4
Merge pull request #2 from colinbull/master

Fix so compiles in .NET 4