Better fix for strptime import threading python issue