Just use arg[0] to get application folder.  Removes another windows.h dependency.