Add an implementation of strptime.