compatible with .NET 4.0
Merge pull request #1 from schakko/master

Compatibility with .NET 4.0