Add support for .NET Compact Framework

First attempt to add support for .NET Compact Framework