hotfix for LRU on python2

This should fix #367