Mac OS X does provide localtime_r

Change-Id: I0a8860f2b0ea053cdfe9504dc266be36cdb0043e