Change LC_NUMERIC support to use GLIBC instead of linux define.