Add missing invariant culture specifications.
Remove unused references from .NET45 project.