Remove the dependency on strptime