Change platform to .NET Framework 4.0.
Remove unused references.