Fixed cross-platform issue: LC_* constants have different values on windows