Set LC_TYPE to fix compilation on Mac OSX