Fix ordereddict import, so that it works with Python 2.6.