Chrono: Provide workarounds to non available localtime_r, timegm and gmtime_r functions + change to portable strftime format