Need to include locale.h, now that it's been removed from config.h