Checking for `locale.h` is required in release mode
./autogen.sh --disable-debug && make fails because locale.h is not included by other headers in this case.
./autogen.sh --disable-debug && make fails because locale.h is not included by other headers in this case.