Add workaround for cachetools version being too recent for Python 2