On MacOSX, assume we do have CFLocaleCopyCurrent to detect the actual locale by hard-coding the fact in config.h.cmake

This circumvents the fact that we are using localename.c directly instead of relying on the autotools-generated config.h