Changed compile target to 4.0 so can be used by people pre .NET 4.5