Build with proper implementation of localeconv