Fixed StructureMap dependency issue for .NET 3.5.