Handle import of OrderedDict from compat module