fix OrderedDict ImportError with Python < 2.7

This patch fixes #252