Use AC_CHECK_HEADERS rather than __DARWIN__ macro to include xlocale.h