Fix dependencies for everything except .NET 3.5 (fixes #2)