Use a local implementation of strptime() instead of broken OS ones