Set LC_TYPE to fix compilation on Mac OSX
Merge pull request #1 from lpgauth/master

Fix compilation on Mac OSX