Bug 722116 - Some LC_* variables are not portable

wrap with ifdefs