Revert "check if LC_MESSAGES is defined to avoid "Use of undefined constant LC_MESSAGES - assumed 'LC_MESSAGES'""

This reverts commit 7cc05c274926e65813a3760a7511e19974a9168e.