Fix warning-as-error build break by using InvariantCulture explicitly.