[0.3.1] Fixed #1: TypeError on windows 7 and python 3.4