make compatible with cx_freeze in gui32 mode