Works with cx_freeze on Windows

Also included a fix to the directory-changing line in the launcher
(thanks to Christoff Eilers)