Merge "Set HAVE_LOCALTIME_R to 1 when defined."