make compatible with cx_freeze in gui32 mode

this should fix issues #67 and #68 

Attention I also removed the IOError from conf.py as suggested in #66