Fixed compatibility issue with python 3.2

collections.abc was introduced with python 3.3