3.16: add cleanup for old localtime lib