Add hack for bug in cpython 2.6 api with pydatetime api import