Use ordereddict package on python 2.6