Fix for getAppExec() on Windows

Fixes #29 I think