catch AttributeError thrown on win xp
Merge pull request #120 from takoi/master

Fixed import error on windows xp