Remove .net 4.5 dependency from Security module