Bugfix on application base uri calculation with Windows